#ifndef READYQUEUE_H
#define READYQUEUE_H
#include <my_header.h>

typedef struct node{
    int netfd;
    struct node * next;
}QueueNode;


typedef struct {
    QueueNode * front;
    QueueNode * rear;
    int size;
}ReadyQueue;


int readyQueueInit(ReadyQueue * ry);

void addQueueNode(ReadyQueue * ry,int fd);

int deleteQueueNode(ReadyQueue * ry);

#endif
